package com.stottlerhenke.simbionic.api;


public class SB_FuncParamSpec
{
  public SB_FuncParamSpec()
  {
  }

  public SB_FuncParamSpec(String nname, SB_ParamDir ddir, SB_VarType ttype)
  {
    name = nname;
    dir = ddir;
    type = ttype;
  }

  /**
   * Constructor.  This version accepts class ids as parameter types.
   * @param nname
   * @param ddir
   * @param ttype
   */
  public SB_FuncParamSpec(String nname, SB_ParamDir ddir, int ttype)
  {
    name = nname;
    dir = ddir;
    type = new SB_VarType(ttype);
  }  
  
  public String name;
  public SB_ParamDir dir;
  public SB_VarType type;
}